package com.innodealing.kafka.listener;

import com.innodealing.kafka.model.KafkaMessage;

import java.util.List;

/**
 * 顺序消费
 *
 * @author Yinpenghai
 */
public interface HermesBatchOrderlyListener extends HermesOrderlyListener {
    /**
     * 批量消费
     * @param kafkaMessages 消息
     */
    void onMessage(List<KafkaMessage> kafkaMessages);
}
